package com.ljf.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ljf.entity.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface EmployeeMapper extends BaseMapper<Employee> {
    @Select("select * from employee where phone = #{username}")
    Employee getByUsername(String username);
}
